<%-- 
    Document   : indexPage
    Created on : 21.6.2013, 10.32.20
    Author     : vasilenko
--%>
<%@taglib  uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<jsp:include page="/index/headTemplate" />
<div class="content">
    <div id="divHeader">Studies list.</div>
    <div class="study_list">
    <c:forEach items="${listStudy}" var="studylist">
        <div class="study_list_element">
            <div header>Study  # ${studylist.study.id}</div>
            <div title2>Name of study "${studylist.study.name}"
                created by<span description>${studylist.user.name}</span></div>
            <div title>Open date: <span description>${studylist.study.createdDate}</span></div>
            <div title>Passed study: <span description>0</span></div>
            <div buttons>
                <a open href="<c:url value="/index/sort?studyId=${studylist.study.id}"/>">Open</a>
                <a result href="<c:url value="/study/loadStudyResults?studyId=${studylist.study.id}"/>">Results</a>
            </div>

        </div>
    </c:forEach>
    </div>
</div>
<jsp:include page="/index/footTemplate" />
